package com.dongqi.myblog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.dongqi.myblog.po.TTag;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dongqi.myblog.po.vo.TagQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dongqi
 * @since 2020-08-03
 */
public interface TTagService extends IService<TTag> {

    List<TagQuery> getTagIndex(Integer pageSize);

    Page<TTag> pageTags(Page<TTag> page);

    Boolean saveTag(TTag tag);

    Boolean deleteById(Long id);

    Boolean updateTag(TTag tag);
}
